package com.dianping.cat.home.jar.transform;

import com.dianping.cat.home.jar.IVisitor;
import com.dianping.cat.home.jar.entity.Domain;
import com.dianping.cat.home.jar.entity.Jar;
import com.dianping.cat.home.jar.entity.JarReport;
import com.dianping.cat.home.jar.entity.Machine;

public abstract class BaseVisitor
  implements IVisitor {
  public void visitDomain(Domain domain) {
/* 12 */     for (Machine machine : domain.getMachines().values()) {
/* 13 */       visitMachine(machine);
    }
  }


  
  public void visitJar(Jar jar) {}

  
  public void visitJarReport(JarReport jarReport) {
/* 23 */     for (Domain domain : jarReport.getDomains().values()) {
/* 24 */       visitDomain(domain);
    }
  }

  
  public void visitMachine(Machine machine) {
/* 30 */     for (Jar jar : machine.getJars())
/* 31 */       visitJar(jar); 
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/jar/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */